<?
class LayoutBlockBO extends BusinessObject{

  /* private function using in constructors */ 
  function setAttributes(){
	$this->fields	= array(
		'id'		=> 'layout_blockID',
		'name'		=> 'layout_blockName',
		'pos'		=> 'layout_blockPos',
		'descr'		=> 'layout_blockDescr',
		'percent'	=> 'layout_blockPercent',

		'border'	=> 'layout_blockBorder',	// Maybe used in future
		'width'		=> 'layout_blockWidth',
		'height'	=> 'layout_blockHeight',
       );
    BusinessObject::setAttributes();
  }
  /* constructor */
  function LayoutBlockBO(){
    /** super(tableName) */
    BusinessObject::BusinessObject("layout_block");
    $this->setAttributes();
  }
}
?>